package com.hospital.common.vo.payment.module;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class OrderVo {
    /**
     * 订单ID
     */
    private String orderId;
    /**
     * 患者ID
     */
    private Long patientId;
    /**
     * 订单类型
     */
    private Integer orderType;
    /**
     * 订单金额
     */
    private Double orderAmount;
    /**
     * 优惠金额(TBD)
     */
    private Double discountAmount;
    /**
     * 应付金额(TBD)
     */
    private Double payableAmount;
    /**
     * 支付状态
     */
    private Integer paymentStat;
    /**
     * 支付时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime paymentTime;
    /**
     * 支付方式
     */
    private String paymentMethod;
    /**
     * 退款金额
     */
    private Double refundAmount;
    /**
     * 退款时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime refundTime;
    /**
     * 订单创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderCreateTime;
    /**
     * 订单状态
     */
    private Integer orderStatus;
    /**
     * 结算方式(TBD)
     */
    private Integer settlementType;
    /**
     * 订单备注
     */
    private String remarks;
    /**
     * 二维码URL
     */
    private String qrCodeUrl;
}
